﻿<!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3c.org/tr/1999/rec-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>后台管理系统登录</title>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" /> 
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src="assets/js/jquery-1.8.1.min.js" type="text/javascript"></script>
<link href="css/login.css" type=text/css rel=stylesheet>
<script type="text/javascript">
// 	$(function(){
// 	//得到焦点
// 	$("#j_password").focus(function(){
// 		var obj=document.getElementById("logo1");
// 		obj.style.transition="-webkit-animation: run 1s linear 0s infinite;";
// 	});
// 	//失去焦点
// 	$("#j_password").blur(function(){
// 		var obj=document.getElementById("logo1");
// 		obj.style.transition="-webkit-animation-play-state: paused;";
// 	});
// });
	function reload(){
		jQuery("#img").attr('src','validateImage?'+Math.random());
	}
	jQuery(function(){
		reload();
	})

</script>
</head>
<body>
	<div class="top_div"></div>
	<form action="j_spring_security_check" id="form">
		<div id="content_div">
			<div style="width: 210px; height: 190px; position: absolute;">

			</div>
			<p style="padding: 30px 0px 10px; position: relative;">
				<span class="u_logo"></span>
				<input id="j_username" name="j_username" class="ipt" type="text" placeholder="请输入用户名" value="">
			</p>
			<p style="position: relative;">
				<span class="p_logo"></span>
				<input id="j_password" name="j_password" class="ipt" type="password" placeholder="请输入密码" value="">
			</p>
<!-- 			<p style="padding-top:10px;position: relative;"> -->
<!-- 				<span class="u_ver"></span> -->
<!-- 				<input id="j_validate" name="j_validate" class="ipt" type="text" placeholder="请输入验证码" value=""> -->
<!-- 				<img onclick="javascript:reload();" id="img"/> -->
<!-- 			</p> -->
<!-- 			<p style="top:15px;position: relative;"> -->
<!-- 				#if(${SPRING_SECURITY_LAST_EXCEPTION.message}) -->
<!-- 				<font color="red">${SPRING_SECURITY_LAST_EXCEPTION.message}</font> -->
<!-- 				#end -->
<!-- 			</p> -->
			<div id="login_content_div">
				<p style="margin: 40px 35px 0px 45px;">
					<span>
						<a id="login_button" onclick="jQuery('form').submit();">登录</a>
					</span>
				</p>
			</div>
			<span id=valrusername style="display: none; color: red"></span>
			<span id=valrpassword style="display: none; color: red"></span>
			<span id=valrvalidatecode style="display: none; color: red"></span>
			<div id=validationsummary1 style="display: none; color: red"></div>
		</div>
	</form>
</body>
</html>
